/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

/**
 *
 * @author OJH
 */
public class NguoiDung {
    private int maNguoiDung;
    private int maLoaiNguoiDung;
    private String emailDangNhap;
    private String matKhau;
    private String soDienThoaiXacThuc;
    private String diaChiGiaoHang;
    private int hanChe;
    private int kichHoatDienThoai;
    private int tongTienTrongVi;
    private String hinhDaiDien;
    private int gioiTinh;
    
    
    public NguoiDung(){
        this.maNguoiDung=0;
        this.maLoaiNguoiDung=0;
        this.emailDangNhap="";
        this.matKhau="";
        this.soDienThoaiXacThuc="";
        this.diaChiGiaoHang="";
        this.hanChe=0;
        this.kichHoatDienThoai=0;
        this.tongTienTrongVi=0;
        this.hinhDaiDien="";
        this.gioiTinh=0;
    }
    
     public NguoiDung(int maNguoiDung, int maLoaiNguoiDung, String emailDangNhap, String matKhau, String soDienThoaiXacThuc,String diaChiGiaoHang,
            int hanChe, int kichHoatDienThoai, int tongTienTrongVi,String hinhDaiDien,  int gioiTinh ){
        this.maNguoiDung=maNguoiDung;
        this.maLoaiNguoiDung=maLoaiNguoiDung;
        this.emailDangNhap=emailDangNhap;
        this.matKhau=matKhau;
        this.soDienThoaiXacThuc=soDienThoaiXacThuc;
        this.diaChiGiaoHang=diaChiGiaoHang;
        this.hanChe=hanChe;
        this.kichHoatDienThoai=kichHoatDienThoai;
        this.tongTienTrongVi=tongTienTrongVi;
        this.hinhDaiDien=hinhDaiDien;
        this.gioiTinh=gioiTinh;
    }
     
     public NguoiDung(NguoiDung nd   ){
        this.maNguoiDung=nd.maNguoiDung;
        this.maLoaiNguoiDung=nd.maLoaiNguoiDung;
        this.emailDangNhap=nd.emailDangNhap;
        this.matKhau=nd.matKhau;
        this.soDienThoaiXacThuc=nd.soDienThoaiXacThuc;
        this.diaChiGiaoHang=nd.diaChiGiaoHang;
        this.hanChe=nd.hanChe;
        this.kichHoatDienThoai=nd.kichHoatDienThoai;
        this.tongTienTrongVi=nd.tongTienTrongVi;
        this.hinhDaiDien=nd.hinhDaiDien;
        this.gioiTinh=nd.gioiTinh;
    } 
    /**
     * @return the maNguoiDung
     */
    public int getMaNguoiDung() {
        return maNguoiDung;
    }

    /**
     * @param maNguoiDung the maNguoiDung to set
     */
    public void setMaNguoiDung(int maNguoiDung) {
        this.maNguoiDung = maNguoiDung;
    }

    /**
     * @return the maLoaiNguoiDung
     */
    public int getMaLoaiNguoiDung() {
        return maLoaiNguoiDung;
    }

    /**
     * @return the emailDangNhap
     */
    public String getEmailDangNhap() {
        return emailDangNhap;
    }

    /**
     * @return the matKhau
     */
    public String getMatKhau() {
        return matKhau;
    }

    /**
     * @return the soDienThoaiXacThuc
     */
    public String getSoDienThoaiXacThuc() {
        return soDienThoaiXacThuc;
    }

    /**
     * @return the diaChiGiaoHang
     */
    public String getDiaChiGiaoHang() {
        return diaChiGiaoHang;
    }

    /**
     * @return the hanChe
     */
    public int getHanChe() {
        return hanChe;
    }

    /**
     * @return the kichHoatDienThoai
     */
    public int getKichHoatDienThoai() {
        return kichHoatDienThoai;
    }

    /**
     * @return the tongTienTrongVi
     */
    public int getTongTienTrongVi() {
        return tongTienTrongVi;
    }

    /**
     * @return the hinhDaiDien
     */
    public String getHinhDaiDien() {
        return hinhDaiDien;
    }

    /**
     * @return the gioiTinh
     */
    public int getGioiTinh() {
        return gioiTinh;
    }

}
